<h2>Contact form</h2>
<p><b>First Name: </b> <?php echo $first_name; ?></p>
<p><b>Last Name: </b> <?php echo $last_name; ?></p>
<p><b>Email: </b> <?php echo $email; ?></p>
<?php if (trim($phone)) : ?>
<p><b>Phone: </b> <?php echo $phone; ?></p>
<?php endif; ?>
<?php if (trim($ip_address)) : ?>
<p><b>IP Address: </b> <?php echo $ip_address; ?></p>
<?php endif; ?>
<p><b>Subject: </b> <?php echo $subject; ?></p>
<p><b>Message: </b> <?php echo nl2br($message); ?></p>